package com.kxxnzstdsw.modle.repo

import com.kxxnzstdsw.modle.entity.Account
import java.sql.Connection

interface AccountRepository {
  suspend fun info(id: Long): Account?
  suspend fun infoByUsername(username: String): Account?

  suspend fun save(account: Account, conn: Connection? = null)
}
